﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Configurations
{
    public interface IConfigurationNodesCollection
    {
        /// <summary>
        /// 添加节点
        /// </summary>
        /// <param name="node"></param>
        void Add(IConfigurationNode node);

        /// <summary>
        /// 取得复合的节点
        /// </summary>
        /// <param name="nodeName"></param>
        /// <returns></returns>
        IConfigurationNodeCollection this[string nodeName] { get;}

        /// <summary>
        /// 总节点数据
        /// </summary>
        int Count { get;}
    }
}
